#{extends 'main.html' /}
#{set title:'Login' /}

<div class="center" style="width: 400px">

<h2 class="login_register_title">Welcome to Club Sufrin</h2>
<br />

#{form @Application.authenticate(), method:'GET'}
    <p>
        <label for="user_name">User Name: </label><br />
        <input class="text" type="text" id="user_name" name="user_name" />
    </p>
    <p>
        <label for="password">Password: </label><br />
        <input class="text" type="password" id="password" name="password" />
    </p>
    <p>
        Don't have any accounts? <br /><a href="@{Application.register}">Register now</a>
    </p>
    <input class="button" type="submit" value="Submit" />
    &nbsp&nbsp&nbsp;
    <input class="button" type="reset" value="Reset" />
#{/form}
</div>